package net.zjitc.service;

import net.zjitc.domain.User;

import java.sql.SQLException;

/**
 * @Author admin
 * @Date 2019/3/4 11:06
 */
public interface UserService {
    User findByUsernameAndPassword(String username, String password) ;
    User findByUsername(String username);
    void add(User user);
    User findById(String uid);
    void update(User user,String uid) throws SQLException;
}
